//
//  RecordEditMenuView.h
//  BDD_TWO
//
//  Created by XTW on 2023/6/9.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol RecordEditMenuViewDataSource <NSObject>
@required
- (LocalRecordModel *)dataSourceLocalRecord;
- (NSArray *)dataSourceArray;
@end

@protocol RecordEditMenuViewDelegate <NSObject>

@optional
- (void)recordEditMenuViewCutReloadUrl:(NSURL *)url name:(NSString *)fileName;
- (void)recordEditMenuViewReloadModels:(NSArray *)arr;
- (void)recordEditMenuViewSplitReloadModels:(NSArray *)arr;
- (void)recordEditMenuViewDelete:(LocalRecordModel *)dModel;
@end

@interface RecordEditMenuView : UIView
- (instancetype)initCustomView:(CGRect)frame;
@property (nonatomic, weak) id<RecordEditMenuViewDataSource> dataSource;
@property (nonatomic, weak) id<RecordEditMenuViewDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
